GH Actions: update for upstream branch rename#2611
Merged
Conversation
rodrigoprimo
approved these changes
Sep 15, 2025
Member
Author
|
Looks like we don't actually need to update branch protection for this PR. |
dingo-d
approved these changes
Sep 16, 2025
PHPCS has renamed the `master` branch to `3.x`. This commit account for that. * Change `dev-master` to `3.x-dev` in workflows. * Update links referencing the upstream code to use `HEAD` instead of the branch name.
fbac61f to
a09a269
Compare
Member
Author
|
Rebased without changes to get a passing build after the merge of #2606 |
GaryJones
approved these changes
Sep 17, 2025
Member
GaryJones
left a comment
There was a problem hiding this comment.
"In the case of a branch with a version-like name (v1, in this case), you append -dev as a suffix, rather than using dev- as a prefix."
— https://getcomposer.org/doc/articles/versions.md#branches
i.e. to tell Composer to require the head of a branch that looks like a tag, and not a specific tag, then add the -dev suffix. TIL.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
PHPCS has renamed the
masterbranch to3.x.This commit account for that.
dev-masterto3.x-devin workflows.HEADinstead of the branch name.Suggested changelog entry
N/A